home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / misc / fpl-v13.lha / fpl / src / Makefile.OS2 < prev    next >
Makefile  |  1995-02-19  |  3KB  |  59 lines

  1. ########################################################################
  2. #                                                                      #
  3. # fpl.library - A shared library interpreting script langauge.         #
  4. # Copyright (C) 1992-1995 FrexxWare                                    #
  5. # Author: Daniel Stenberg                                              #
  6. #                                                                      #
  7. # This program is free software; you may redistribute for non          #
  8. # commercial purposes only. Commercial programs must have a written    #
  9. # permission from the author to use FPL. FPL is *NOT* public domain!   #
  10. # Any provided source code is only for reference and for assurance     #
  11. # that users should be able to compile FPL on any operating system     #
  12. # he/she wants to use it in!                                           #
  13. #                                                                      #
  14. # You may not change, resource, patch files or in any way reverse      #
  15. # engineer anything in the FPL package.                                #
  16. #                                                                      #
  17. # This program is distributed in the hope that it will be useful,      #
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of       #
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                 #
  20. #                                                                      #
  21. # Daniel Stenberg                                                      #
  22. # Ankdammsgatan 36, 4tr                                                #
  23. # S-171 43 Solna                                                       #
  24. # Sweden                                                               #
  25. #                                                                      #
  26. # FidoNet 2:201/328    email:dast@sth.frontec.se                       #
  27. #                                                                      #
  28. ########################################################################
  29. #
  30. # This is the OS/2 DLL compiling makefile for the IBM C-Set/2 compiler.
  31. #
  32.  
  33. WARNINGS = -Wall -W2 -Wtrd- -Wenu- -Wcnd- -Wgen- -Wpor-
  34. CFLAGS = /Q+ -Se -Gd+ /Ge- /O+ $(WARNINGS)
  35. LFLAGS = /Q+ /Ge /O+ /FeFPL.DLL
  36. DEFINES= -DUNIX -DOS2
  37.  
  38. OBJS  = script.obj numexpr.obj hash.obj statement.obj memory.obj frontend.obj reference.obj scan.obj sprintf.obj
  39.  
  40. all: fpl.dll
  41.  
  42. .c.obj:
  43.     @echo Compiling $*.c
  44.     @icc -C+ $(CFLAGS) $(DEFINES) $*.c
  45.  
  46. fpl.dll: $(OBJS)
  47.     @echo Linking FPL.DLL
  48.     @icc $(LFLAGS) $(OBJS) FPL.DEF
  49.  
  50. memory.obj:    memory.c
  51. numexpr.obj:   numexpr.c
  52. statement.obj: statement.c
  53. frontend.obj:  frontend.c
  54. script.obj:    script.c
  55. hash.obj:      hash.c
  56. reference.obj: reference.c
  57. scan.obj:      scan.c
  58. sprintf.obj:   sprintf.c
  59.